
#include <QVector2D>
#include "SpriteBatch.h"


#define SPRITES 256


class SpriteBatchTester
{
public:
    SpriteBatchTester();
    ~SpriteBatchTester() {}

    void run( float secsPassed );
    void draw( SpriteBatch *batch, int texture );


protected:
     float fangle;
    /*!
      Structure for holding the information for a single
      sprite flying on the screen.
    */
    struct FlyingSprite {
        QVector2D pos;
        QVector2D dir;

        float r,g,b;
        float power;
        float size;
        float angle;
        float angleInc;
        float lifeTime;
    };

    FlyingSprite sprites[ SPRITES ];
};

